// 农机类型管理
import request from "@/api/index"



export default {
    /**
     * @description: 查询批次
     * @param {Object} params *
     * @return {Object}
     */
    queryInputPond(params) {
        const url = "/nc/driver/queryInputPond"
        return request.post(url, {
            ...params
        })
    },
    /**
     * @description: 批次号查询 *代表必填
     * @param {Object} params *
     * @return {Object}
     */
    queryBatchcode(params) {
        const url = "nc/query/queryBatchcode"
        return request.post(url, {
            ...params
        })
    },
    /**
 * @description: 投塘信息查询 *代表必填
 * @param {Object} params *
 * @return {Object}
 */
    queryInputPondInfo(params) {
        const url = "nc/billQuery/queryInputPondInfo"
        return request.post(url, {
            ...params
        })
    },

    /**
* @description: 投塘信息-详情 *代表必填
* @param {Object} params *
* @return {Object}
*/
    queryMaterialDetail(params) {
        const url = "nc/billQuery/queryMaterialDetail"
        return request.post(url, {
            ...params
        })
    },

    /**
* @description: 转塘管理（转库单） *代表必填
* @param {Object} params *
* @return {Object}
*/
    queryWhstrans(params) {
        const url = "nc/billQuery/queryWhstrans"
        return request.post(url, {
            ...params
        })
    },

    /**
* @description: 转塘管理-明细 *代表必填
* @param {Object} params *
* @return {Object}
*/
    queryWhstransDtl(params) {
        const url = "nc/billQuery/queryWhstransDtl"
        return request.get(url, params)
    },

    /**
* @description: NC直鱼记录（产成品入库单）-分页查询 *代表必填
* @param {Object} params *
* @return {Object}
*/
    ncDeadRecordQueryPageByCondition(params) {
        const url = "base/ncDeadRecord/queryPageByCondition"
        return request.post(url, { ...params })
    },

    /**
* @description: NC直鱼记录（产成品入库单-查看明细 *代表必填
* @param {Object} params *
* @return {Object}
*/
    ncDeadRecordQueryDtl(params) {
        const url = "base/ncDeadRecord/queryDtl"
        return request.get(url, params)
    },

    /**
* @description: NC直鱼记录（产成品入库单-查看明细 *代表必填
* @param {Object} params *
* @return {Object}
*/
    ncDeadRecordDelById(params) {
        const url = "base/ncDeadRecord/delById"
        return request.get(url, params)
    },



    /**
      * @description: 出鱼管理（产成品入库单） *代表必填
      * @param {Object} params *
      * @return {Object}
      */
    queryFinprodin(params) {
        const url = "nc/billQuery/queryFinprodin"
        return request.post(url, {
            ...params
        })
    },
    /**
    * @description: 估产管理（在产盘点单） *代表必填
    * @param {Object} params *
    * @return {Object}
    */
    queryInprocess(params) {
        const url = "nc/billQuery/queryInprocess"
        return request.post(url, {
            ...params
        })
    },



    /**
     * @description: 产成品入库单-查看明细 *代表必填
     * @param {String/Number} id *
     * @return {Object}
     */
    queryFinprodinDtl(params) {
        const url = "/nc/query/queryFinprodinDtl"
        return request.get(url, params)
    },



    /**
   * @description: 在产盘点单-查看明细 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
    queryInprocessDtl(params) {
        const url = "/nc/query/queryInprocessDtl"
        return request.get(url, params)

    },

    /**
   * @description: 材料出库查询 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
    queryMaterial(params) {
        const url = "/nc/query/queryMaterial"
        return request.post(url, {
            ...params
        })
    },

    /**
     * @description: 材料出库单-查看明细 *代表必填
     * @param {Object} params *
     *  @return {Object}
     */
    queryMaterialDtl(params) {
        const url = "/nc/query/queryMaterialDtl"
        return request.get(url, params)
    },

    /**
    * @description: 销售订单查询 *代表必填
    * @param {Object} params *
    *  @return {Object}
    */
    querySaleOrder(params) {
        const url = "/nc/query/querySaleOrder"
        return request.post(url, {
            ...params
        })
    },

    /**
    * @description: 销售订单-查看明细 *代表必填
    * @param {Object} params *
    *  @return {Object}
    */
    querySaleOrderDtl(params) {
        const url = "/nc/query/querySaleOrderDtl"
        return request.get(url, params)
    },

    /**
    * @description: 销售出库查询 *代表必填
    * @param {Object} params *
    * @return {Object}
    */
    querySaleOut(params) {
        const url = "/nc/query/querySaleOut"
        return request.post(url, { ...params })
    },

    /**
    * @description: 销售出库单-查看明细 *代表必填
    * @param {Object} params *
    * @return {Object}
    */
    querySaleOutDtl(params) {
        const url = "/nc/query/querySaleOutDtl"
        return request.get(url, params)
    },

    /**
    * @description: 调拨入库查询 *代表必填
    * @param {Object} params *
    * @return {Object}
    */
    queryTransin(params) {
        const url = "/nc/query/queryTransin"
        return request.post(url, { ...params })
    },

    /**
    * @description: 调拨入库-查看明细 *代表必填
    * @param {Object} params *
    * @return {Object}
    */
    queryTransinDtl(params) {
        const url = "/nc/query/queryTransinDtl"
        return request.get(url, params)
    },

    /**
    * @description: 调拨出库查询 *代表必填
    * @param {Object} params *
    * @return {Object}
    */
    queryTransout(params) {
        const url = "/nc/query/queryTransout"
        return request.post(url, { ...params })
    },

    /**
    * @description: 调拨出库-查看明细 *代表必填
    * @param {Object} params *
    * @return {Object}
    */
    queryTransoutDtl(params) {
        const url = "/nc/query/queryTransoutDtl"
        return request.get(url, params)
    },

}